<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<script type="text/javascript" src="static/login/js/jquery-1.5.1.min.js"></script>

<title>Insert title here</title>
<script type="text/javascript">
	function login()
	{
		var loginname = "admin";
		var password = "1";
		var code = "qq313596790fh"+loginname+",fh,"+password+"QQ978336446fh"+",fh,"+"AAA";
		
		$.ajax({
			type: "POST",
			url: 'login_login1',
	    	data: {KEYDATA:code,tm:new Date().getTime()},
			dataType:'json',
			cache: false,
			success: function(data){
				console.log(data);
			}
		});
		/* $.ajax({
				type: "POST",
				url: 'appSysUser/registerSysUser.do',
		    	data: {USERNAME:"admin",PASSWORD:"123456",tm:new Date().getTime()},
				dataType:'json',
				cache: false,
				success: function(data){
					console.log(data);
				}
			});
		 */
	}
</script>
</head>
<body>
hello java!

<input id="btnLogin" type="button"  value="登 录"  onclick="login()"/>

</body>
</html>